package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"too/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/userList", &controllers.UserControllers{}, "post:List")
	beego.Router("/RolePermAdd", &controllers.UserControllers{}, "post:Add")
	beego.Router("/UserRoleList", &controllers.UserControllers{}, "get:List2")
	beego.Router("/RolePermList", &controllers.UserControllers{}, "get:List3")
	beego.Router("/compAdd", &controllers.UserControllers{}, "post:Add2")
	beego.Router("/compTypeAdd", &controllers.UserControllers{}, "post:Add3")
	beego.Router("/numList", &controllers.UserControllers{}, "get:List4")
	beego.Router("/CompTypeList", &controllers.UserControllers{}, "get:List5")
}
